Case Management

This is a list of classes related to Case Management. The entry point into this feature is through the SCCaseInterface class. Refer to that class to get started.

  • The SCCaseInterface class is the main interface to the Case Management SDK. Use this class to configure and customize the Case Management interface.

    To get an instance of this class, use the SCServiceCloud.cases property on +[SCServiceCloud sharedInstance].

    See more

    Declaration

    Objective-C

    @interface SCCaseInterface : NSObject

    Swift

    class SCCaseInterface : NSObject
  • Possible Case error response codes.

    See more

    Declaration

    Objective-C

    enum SCSCaseErrorCode {}

    Swift

    enum SCSCaseErrorCode : Int
  • View controller that shows a list of cases for a particular user.

    This controller assumes that it will be presented within an instance of UINavigationController. If you aren’t pushing this controller onto a navigation controller stack, present it within a new navigation controller instance.

    SCSCaseListViewController *caseController = [SCSCaseListViewController new];
    UINavigationController *navigationController = [[UINavigationController alloc]
        initWithRootViewController:caseController];
    [self presentViewController:navigationController animated:YES completion:nil];
    

    Warning

    If you instantiate this view controller and display it manually, you’ll also need to display SCSCaseDetailViewController. When a user selects a case from the case list, present your Case Detail view controller from the -[SCSCaseListViewControllerDelegate caseList:selectedCaseWithId:] method in your SCSCaseListViewControllerDelegate implementation. If you don’t do this, nothing will happen when a user taps on a specific case in the case list!
    See more

    Declaration

    Objective-C

    @interface SCSCaseListViewController : UIViewController

    Swift

    class SCSCaseListViewController : UIViewController
  • Delegate protocol used to receive events about the actions performed by the case list view controller.

    See more

    Declaration

    Objective-C

    @protocol SCSCaseListViewControllerDelegate <NSObject>

    Swift

    protocol SCSCaseListViewControllerDelegate : NSObjectProtocol
  • Possible result types for the case publisher view controller.

    This value is used by the SCSCasePublisherViewControllerDelegate protocol method.

    See more

    Declaration

    Objective-C

    enum SCSCasePublisherResult {}

    Swift

    enum SCSCasePublisherResult : Int
  • View controller that lets users create a case and submit it to Service Cloud.

    This controller assumes that it will be presented within an instance of UINavigationController. If you aren’t pushing this controller onto a navigation controller stack, present it within a new navigation controller instance.

    SCSCasePublisherViewController *caseController = [SCSCasePublisherViewController new];
    UINavigationController *navigationController = [[UINavigationController alloc]
      initWithRootViewController:caseController];
    [self presentViewController:navigationController animated:YES completion:nil];
    
    See more

    Declaration

    Objective-C

    @interface SCSCasePublisherViewController : UIViewController

    Swift

    class SCSCasePublisherViewController : UIViewController
  • Delegate protocol used to receive events about the actions performed by the case publisher view controller.

    See more

    Declaration

    Objective-C

    @protocol SCSCasePublisherViewControllerDelegate <NSObject>

    Swift

    protocol SCSCasePublisherViewControllerDelegate : NSObjectProtocol